package com.fowo.api.sys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fowo.api.sys.entity.SysMenu;
import com.fowo.api.sys.model.SysMenuSearch;
import com.fowo.api.sys.model.SysMenuVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {
    List<SysMenuVo> search(SysMenuSearch search);
    List<SysMenuVo> searchByUserId(Long userId);
}
